local zhenglun = fk.CreateSkill {

  name = "joy__zhenglun",

  tags = {  },

}



zhenglun:addEffect(fk.DrawNCards, {
  name = "joy__zhenglun",
  events = { fk.DrawNCards },
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(zhenglun.name) and player:getMark("@orange") == 0
  end,
  on_cost = function (self, event, target, player, data)
    return player.room:askForSkillInvoke(player,zhenglun.name,data,"#joy__zhenglun")
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    data.n = data.n - 2
    room:addPlayerMark(player, "@orange")
  end,
})

return zhenglun